3.1042 \(\int x \left (a+b x^2\right )^p \, dx\)

Optimal. Leaf size=23 \[ \frac{\left (a+b x^2\right )^{p+1}}{2 b (p+1)} \]

[Out]

(a + b*x^2)^(1 + p)/(2*b*(1 + p))

_______________________________________________________________________________________

Rubi [A]  time = 0.0156318, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{\left (a+b x^2\right )^{p+1}}{2 b (p+1)} \]

Antiderivative was successfully verified.

[In]  Int[x*(a + b*x^2)^p,x]

[Out]

(a + b*x^2)^(1 + p)/(2*b*(1 + p))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 2.6632, size = 15, normalized size = 0.65 \[ \frac{\left (a + b x^{2}\right )^{p + 1}}{2 b \left (p + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(b*x**2+a)**p,x)

[Out]

(a + b*x**2)**(p + 1)/(2*b*(p + 1))

_______________________________________________________________________________________

Mathematica [A]  time = 0.00581633, size = 22, normalized size = 0.96 \[ \frac{\left (a+b x^2\right )^{p+1}}{2 b p+2 b} \]

Antiderivative was successfully verified.

[In]  Integrate[x*(a + b*x^2)^p,x]

[Out]

(a + b*x^2)^(1 + p)/(2*b + 2*b*p)

_______________________________________________________________________________________

Maple [A]  time = 0.003, size = 22, normalized size = 1. \[{\frac{ \left ( b{x}^{2}+a \right ) ^{1+p}}{2\,b \left ( 1+p \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(b*x^2+a)^p,x)

[Out]

1/2*(b*x^2+a)^(1+p)/b/(1+p)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.216218, size = 34, normalized size = 1.48 \[ \frac{{\left (b x^{2} + a\right )}{\left (b x^{2} + a\right )}^{p}}{2 \,{\left (b p + b\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x,x, algorithm="fricas")

[Out]

1/2*(b*x^2 + a)*(b*x^2 + a)^p/(b*p + b)

_______________________________________________________________________________________

Sympy [A]  time = 2.13288, size = 97, normalized size = 4.22 \[ \begin{cases} \frac{x^{2}}{2 a} & \text{for}\: b = 0 \wedge p = -1 \\\frac{a^{p} x^{2}}{2} & \text{for}\: b = 0 \\\frac{\log{\left (- i \sqrt{a} \sqrt{\frac{1}{b}} + x \right )}}{2 b} + \frac{\log{\left (i \sqrt{a} \sqrt{\frac{1}{b}} + x \right )}}{2 b} & \text{for}\: p = -1 \\\frac{a \left (a + b x^{2}\right )^{p}}{2 b p + 2 b} + \frac{b x^{2} \left (a + b x^{2}\right )^{p}}{2 b p + 2 b} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(b*x**2+a)**p,x)

[Out]

Piecewise((x**2/(2*a), Eq(b, 0) & Eq(p, -1)), (a**p*x**2/2, Eq(b, 0)), (log(-I*s
qrt(a)*sqrt(1/b) + x)/(2*b) + log(I*sqrt(a)*sqrt(1/b) + x)/(2*b), Eq(p, -1)), (a
*(a + b*x**2)**p/(2*b*p + 2*b) + b*x**2*(a + b*x**2)**p/(2*b*p + 2*b), True))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.227714, size = 28, normalized size = 1.22 \[ \frac{{\left (b x^{2} + a\right )}^{p + 1}}{2 \, b{\left (p + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x,x, algorithm="giac")

[Out]

1/2*(b*x^2 + a)^(p + 1)/(b*(p + 1))